delete

abstract fun delete(key: Any): Boolean

Removes the mapping for the specified key from this map.

Return

true if a mapping for the specified key existed and has been removed, false if the mapping does not exist

Parameters

key

the key whose mapping is deleted from this map

Throws

when the JavaScript object is already disposed or invalid